package com.online.customerchatserver.entity;

import java.sql.Timestamp;

/**
 * Created by littleheng on 2018/4/28
 */
public class Message {

    private String uuid;
    private Integer direction;
    private Integer type;
    private String content;
    private Timestamp createTime;
    private Integer readStatus;
    private String companyId;
    private String sessionId;

    public Message() {
    }

    public Message(String uuid, Integer direction, Integer type, String content, Timestamp createTime, Integer readStatus, String companyId, String sessionId) {
        this.uuid = uuid;
        this.direction = direction;
        this.type = type;
        this.content = content;
        this.createTime = createTime;
        this.readStatus = readStatus;
        this.companyId = companyId;
        this.sessionId = sessionId;
    }

    public String getUuid() {
        return uuid;
    }

    public void setUuid(String uuid) {
        this.uuid = uuid;
    }

    public Integer getDirection() {
        return direction;
    }

    public void setDirection(Integer direction) {
        this.direction = direction;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public Timestamp getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Timestamp createTime) {
        this.createTime = createTime;
    }

    public Integer getReadStatus() {
        return readStatus;
    }

    public void setReadStatus(Integer readStatus) {
        this.readStatus = readStatus;
    }

    public String getCompanyId() {
        return companyId;
    }

    public void setCompanyId(String companyId) {
        this.companyId = companyId;
    }

    public String getSessionId() {
        return sessionId;
    }

    public void setSessionId(String sessionId) {
        this.sessionId = sessionId;
    }
}